<!DOCTYPE html>
<html id="replace-style" lang="zh" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="UTF-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
	<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
	<link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}">
	<title>预警查询</title>
</head>
<body>
<!--头部-->
<header th:replace="common/head">
</header>


<!-- 页面指向 -->
<div class="page-point bg-white">
	<ul>
		<li>设备管理</li>
		<li>设备预警管理</li>
		<li>预警查询</li>
	</ul>
</div>

<!-- 菜单树 -->
<div th:replace="common/left">
</div>


<!--主体内容-->
<div class="page-container">

	<div class="container-fluid mb-20 clearfix">
		<div class="col-md-12">
			<h2 class="page-section-title">查询条件</h2>
		</div>
	</div>

	<div class="container-fluid query-frame-wrap mb-10 clearfix time-set">
		<div class="col-lg-3">
			<div class="query-frame">
				<label>设备编号</label>
				<select class="queryEquipment eqCode"></select>
			</div>
		</div>

		<div class="col-lg-3">
			<div class="query-frame date-frame">
				<label>开始时间</label>
				<input autocomplete="new-password" type="text" id="accessTimeStart" style="width: 200px"
					   class="form_datetimeStart query queryAccess form-control" readonly="readonly"/>
			</div>
		</div>
		<div class="col-lg-3">
			<div class="query-frame date-frame">
				<label>结束时间</label>
				<input autocomplete="new-password" type="text" id="accessTimeEnd" style="width: 200px"
					   class="form_datetimeEnd query queryAccess form-control" readonly="readonly"/>
			</div>
		</div>

		<div class="col-lg-3">
			<div class="query-frame query-button">
				<img class="search yes" th:src="@{/image/search.png}"/>
				<img class="reset" th:src="@{/image/rest.png}"/>
			</div>
		</div>
	</div>

	<div class="container-fluid mb-20 clearfix">
		<div class="col-md-12 rlt">
			<h2 class="page-section-title">预警查询列表</h2>
			<ul class="table-tool crud">
				<li class="refresh">
					<span class="icon-list_shuaxin" aria-hidden="true"></span>
					<label>刷新</label>
				</li>
			</ul>
		</div>
	</div>

	<div class="container-fluid table-container table-box">
		<table id="dataTable" class="dataTable">

		</table>
	</div>
</div>

<form method="post" role="form" class="form form-horizontal addForm" action="" id="dealForm">
	<div class="modal fade" id="dealALarm" tabindex="-1" role="dialog">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
							aria-hidden="true">&times;</span></button>
					<h4 class="modal-title title">处理报警</h4>
				</div>
				<div class="modal-body">
					<div class="row">
						<div class="col-lg-12">
							<div class="form-group">
								<label class="col-lg-3 control-label form-required form-required-4">设备编号</label>
								<div class="col-lg-7">
									<input autocomplete="new-password" type="text" name="equipCode" class="equipCode form-control" readonly/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-3 control-label form-required form-required-4">预警名称</label>
								<div class="col-lg-7">
									<input autocomplete="new-password" type="text" name="paramPromptName" class="paramPromptName form-control" readonly/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-3 control-label form-required form-required-2">原因</label>
								<div class="col-lg-7">
									<textarea  name="reason" class="reason form-control" maxlength="100" ></textarea>
								</div>
							</div>

							<!-- 隐藏唯一id -->

							<input autocomplete="new-password" type="hidden" name="pkId" class="pkId"/>

						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" id="btn_submit" class="btn btn-default sure yes" data-dismiss="modal">处理</button>
					<button type="button" class="btn btn-primary" data-dismiss="modal">取消</button>
				</div>
			</div>
		</div>
	</div>
</form>


<!-- 公共底部 -->
<div th:replace="common/foot">
</div>


<script th:src="@{/js/equipment/alarm/query.js}"></script>


</body>
</html>